* {
    /*设置购物车的宽高*/
    padding: 0%;
    margin: 0;
}

.top-bar {
    height: 40px;
    background-color: #333;
}

.content {
    width: 1226px;
    height: 40px;
    border: 1px solidr red;
    margin: 0 auto;
}

ul {
    list-style-type: none;
}

li {
    float: left;
    color: #b0b0b0;
    font-size: 12px;
    height: 40px;
    line-height: 40px;
}

/*将left-list的列表左右撑开一定距离*/
span {
    margin: 0 4px;
}

/*去掉a标签的下划线设置字体颜色为灰色*/
a {
    text-decoration: none;
    color: #b0b0b0;
}

/*给a标签添加hover效果让文字鼠标悬停的时候颜色变亮*/
a:hover {
    color: #FFF;
}

.right-list {
    float: right;
}

.cart {
    width: 120px;
    height: 40px;
    background-color: #424242;
    float: right;
    margin-left: 15px;
    background-image: url(./images/购物车.png);
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: 10px center;
    color: #b0b0b0;
    font-size: 12px;
    line-height: 40px;
    padding-left: 35px;
    /*设置为css3的盒子模型*/
    box-sizing: border-box;
}

/*给cart购物车添加hover效果*/
.cart:hover {
    color: #FF6700;
    background-image: url(./images/购物车\ \(1\).png);
    background-color: white;
}

/*将span里面的|颜色变浅*/
span {
    color: #424242;
}

/*第二个导航的样式*/
.site-header {
    width: 1226px;
    height: 100px;
    margin: 0 auto;
}

/*图片样式*/
.head-pic {
    width: 56px;
    height: 100px;
}

img {
    width: 56px;
    height: 56px;
    padding-top: 22px;
}

.head-pic {
    float: left;
}

/*右侧列表样式*/
.head-nav {
    float: left;
}

.head-nav ul {
    padding-left: 157px;
}

.head-nav ul li {
    font-size: 16px;
    height: 100px;
    line-height: 100px;
    color: black;
    padding: 0 10px;
}

.site-header .head-nav ul li a {
    color: black;
}

.site-header .head-nav ul li a:hover {
    color: #FF6700;
}

/*焦点图*/
.swiper {
    width: 1226px;
    height: 460px;
    background-image: url(https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/524ea8e4bb544bb4aac573acad1a0364.jpg?thumb=1&w=1226&h=460&f=webp&q=90);
    margin: 0 auto;
}

.swiper .site-category {
    width: 234px;
    height: 460px;
    background: rgba(105, 101, 101, .6);
}

.swiper .site-category ul {
    padding-top: 20px;
}

.swiper .site-category ul li {
    width: 234px;
    height: 42px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
}

.swiper .site-category ul li span {
    color: white;
    float: right;
    padding-right: 20px;
}

.swiper .site-category ul a {
    display: block;
    width: 234px;
    height: 42px;
    padding-left: 30px;
    box-sizing: border-box;
    color: white;
}

.swiper .site-category ul li a:hover {
    background-color: #FF6700;
}

/*(<!--右侧的左右箭头的符号和指示器-->*/
.left-arrow {
    width: 41px;
    height: 69px;
    background-image: url(https://il.mifile.cn/f/i/2014/cn/icon/icon-slides.png);
    position: absolute;
    left: 234px;
    top: 195px;
    background-position: 82px;
}

.left-arrow:hover {
    background-position: 0px;
}

.right-arrow {
    width: 41px;
    height: 69px;
    background-image: url(https://il.mifile.cn/f/i/2014/cn/icon/icon-slides.png);
    background-position: 41px;
    position: absolute;
    right: 0px;
    top: 195px;
}

.right-arrow:hover {
    background-position: -41px;
}

.indicator {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.indicator span {
    float: left;
    display: block;
    width: 6px;
    height: 6px;
    background-color: #0d0d0d;
    border-radius: 6px;
    border: 2px solid rgb(133, 127, 127);
}

.indicator .active {
    background-color: #ede3e3;
}

/*焦点图下面的荣誉列表
把鼠标放到你要注释的那一行，然后先按ctrl不松手，再按/*/
.head-hero {
    width: 1226px;
    height: 170px;
    margin: 0 auto;
    margin-top: 14px;
    margin-bottom: 30px;
}

/*左侧的盒子里面有6个小盒子*/
.left-box {
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    float: left;
    padding-left: 3px;
    padding-top: 3px;
    box-sizing: border-box;
}

.left-box .smallbox {
    width: 76px;
    height: 82px;
    float: left;
    text-align: center;
}

.head-hero .left-box .smallbox img {
    width: 24px;
    height: 24px;
    padding-top: 18px;
}

.head-hero .left-box .smallbox p {
    font-size: 12px;
    color: white;
}

/*右侧的盒子里面有3张图片*/
.right-box {
    width: 978px;
    height: 170px;
    float: right;
}

.head-hero .right-box .pic img {
    width: 316px;
    height: 170px;
    padding-top: 0px;
}

.head-hero .right-box .pic {
    float: left;
    margin-right: 15px;
}

.head-hero .right-box .last-pic {
    margin-right: 0px;
}

/* 主体内容区域 */
.main-content {
    overflow: hidden;
    background-color: rgb(245, 245, 245);
}

/* k80pro */
.k80 {
    width: 1226px;
    height: 120px;
    margin: 22px auto;
    background: url(https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9e9c620dbad5c650b6ff0c573df76e14.jpg?thumb=1&w=1226&h=120&f=webp&q=90);
}

/* 手机标题 */
.phone-header {
    width: 1226px;
    height: 58px;
    margin: 0 auto;
}

.phone-header h2 {
    font-size: 22px;
    height: 58px;
    line-height: 58px;
    font-weight: normal;
    float: left;
}

.phone-header p {
    float: right;
    height: 58px;
    line-height: 58px;
    position: relative;
    padding-right: 40px;
}

/* 手机内容 */
.phone-content {
    width: 1226px;
    height: 614px;
    margin: 0 auto;
}

/* 左侧盒子 */
.phone-content .leftbox {
    width: 234px;
    height: 614px;
    float: left;
    background: url(https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/55d2e50dd3783b52244ea3938e9dfca7.png?thumb=1&w=234&h=614&f=webp&q=90);
}

/* 右侧盒子 */
.phone-content .rightbox {
    width: 992px;
    height: 614px;
    float: right;
}

.phone-content .rightbox .phone {
    width: 234px;
    height: 300px;
    text-align: center;
    background-color: white;
    float: left;
    margin-left: 14px;
    margin-bottom: 14px;
}

.phone-content .rightbox .phone img {
    width: 160px;
    height: 160px;
}

.phone-content .rightbox .phone h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.phone-content .rightbox .phone .desc {
    font-size: 12px;
    color: #B0B0B0;
    margin-bottom: 10px;
}


.phone-content .rightbox .phone .price {
    font-size: 14px;
    color: #FF6700;
    margin-bottom: 14px;
}